//import { http } from "../utils/request";

import request from "@/utils/request";
// 获取风险研判相关数据
export const riskinfoGetList = ({
  judgmentType,
  currentPage,
  pageSize,
  mineId,
}) => {
  return request({
    url: `/app/riskinfo/getList?currentPage=${currentPage}&pageSize=${pageSize}`,
    method: "POST",
    data: {
      judgmentType,
       mineId,
    },
  });
};

// 新增风险研判相关数据
export const riskinfoInsert = (data) => {
  return request({
    url: `/app/riskscore/insert`,
    method: "POST",
    data:data,
  });
};

 // 研判查询
 export const riskscoregetList = (data) => {
  return request({
    url: `/app/riskscore/getList`,
    method: "POST",
    data:data,
  });
};
















